<?php

class Model_Messages
{
	protected $_message_id;  //message table id
	protected $_message_content; //message contents
	protected $_venue_id; //venue id where the message public
	protected $_venue_name; //venue name
	protected $_user_id; //the user id who public the message
	protected $_user_name; // user name
	protected $_public_time; //message public time
	protected $_reply; //the message id of the reply, if it is 0, it means not a reply message.
	
	/**
	 * @return the $_venue_name
	 */
	public function getVenue_name() {
		return $this->_venue_name;
	}

	/**
	 * @param field_type $_venue_name
	 */
	public function setVenue_name($_venue_name) {
		$this->_venue_name = $_venue_name;
	}

	/**
	 * @return the $_venue_id
	 */
	public function getVenue_id() {
		return $this->_venue_id;
	}

	/**
	 * @param field_type $_venue_id
	 */
	public function setVenue_id($_venue_id) {
		$this->_venue_id = $_venue_id;
	}

	/**
	 * @return the $_message_id
	 */
	public function getMessage_id() {
		return $this->_message_id;
	}

	/**
	 * @return the $_message_content
	 */
	public function getMessage_content() {
		return $this->_message_content;
	}


	/**
	 * @return the $_user_id
	 */
	public function getUser_id() {
		return $this->_user_id;
	}
	
	/**
	 * @return the $_user_name
	 */
	public function getUser_name() {
		return $this->_user_name;
	}

	/**
	 * @param field_type $_user_name
	 */
	public function setUser_name($_user_name) {
		$this->_user_name = $_user_name;
	}

	/**
	 * @return the $_public_time
	 */
	public function getPublic_time() {
		return $this->_public_time;
	}

	/**
	 * @return the $_reply
	 */
	public function getReply() {
		return $this->_reply;
	}

	/**
	 * @param field_type $_message_id
	 */
	public function setMessage_id($_message_id) {
		$this->_message_id = $_message_id;
	}

	/**
	 * @param field_type $_message_content
	 */
	public function setMessage_content($_message_content) {
		$this->_message_content = $_message_content;
	}

	/**
	 * @param field_type $_user_id
	 */
	public function setUser_id($_user_id) {
		$this->_user_id = $_user_id;
	}

	/**
	 * @param field_type $_public_time
	 */
	public function setPublic_time($_public_time) {
		$this->_public_time = $_public_time;
	}

	/**
	 * @param field_type $_reply
	 */
	public function setReply($_reply) {
		$this->_reply = $_reply;
	}

}

